import { defineStore } from 'pinia'
export const useStore = defineStore('storeId', {
    state: () => {
        return {
            add: 0,
            reduce: 100
        }
    },
    getters: {},
    actions: {
        increase() {
            this.add++
        },
        decrease() {
            this.reduce--
        }
    }
})
